A Global Approach for Solving Edge-Matching Puzzles
نویسندگان
چکیده
We consider apictorial edge-matching puzzles, in which the goal is to arrange a collection of puzzle pieces with colored edges so that the colors match along the edges of adjacent pieces. We devise an algebraic representation for this problem and provide conditions under which it exactly characterizes a puzzle. Using the new representation, we recast the combinatorial, discrete problem of solving puzzles as a global, polynomial system of equations with continuous variables. We further propose new algorithms for generating approximate solutions to the continuous problem by solving a sequence of convex relaxations. 1. Introduction. Jigsaw puzzles [47], dating back to the 1760s, are among the most popular single-player puzzles. The edge-matching puzzle, introduced in the 1890s, is a variation of the jigsaw puzzle in which the goal is to arrange a given collection of tiles with colored edges so that the colors match up along the edges of adjacent tiles. An example of an edge-matching puzzle with 36 square pieces is shown in Figure 1.1. Edge-matching puzzles are challenging compared to standard jigsaw puzzles as only an entire solution guarantees the correctness of any local part of the solution. Despite recent breakthroughs in algorithmic solutions for pictorial puzzles [40, 20], in which one aims to reorganize a scrambled image, relatively little attention had been given to apictorial edge-matching puzzles. This NP-hard problem [17] sparked a lot of interest following the launch of the Eternity puzzle challenges. The challenge posed in the " Eternity I " puzzle was to tile a large dodecagon with 209 irregularly shaped smaller polygonal pieces; it was marketed as being practically unsolvable, but was solved within a year, for a prize of 1 million pounds. For the " Eternity II " puzzle one must correctly place 256 square pieces, whose edges are marked with different patterns, into a 16×16 grid. The puzzle was launched in 2007 and to date remains unsolved. A prize of 2 million dollars was on offer up until December 2010. In this paper we propose a novel representation for apictorial edge-matching puzzle games in terms of algebraic varieties, i.e., as solutions of systems of polynomial equations derived from the pieces of the puzzle. We explain how to generate systems of polynomial equations which are satisfied by puzzle solutions. We refer to systems for which the converse also holds, that is, any solution of the system is a solution of the puzzle, as …
منابع مشابه
No Easy Puzzles: A Hardness Result for Jigsaw Puzzles
We show that solving jigsaw puzzles requires Θ(n ) edge matching comparisons, making them as hard as their trivial upper bound. This result generalises to puzzles of all shapes, and is applicable to both pictorial and apictorial puzzles.
متن کاملEdge Matching Puzzles as Hard SAT/CSP Benchmarks
Recently, edge matching puzzles, an NP-complete problem, have received, thanks to money-prized contests, considerable attention from wide audiences. We consider these competitions not only a challenge for SAT/CSP solving techniques but also as an opportunity to showcase the advances in the SAT/CSP community to a general audience. This paper studies the NP-complete problem of edge matching puzzl...
متن کاملAn Improved Heuristic-based Approach for Solving Square Jigsaw Puzzles
An algorithm for assembling square jigsaw puzzles is presented. We commence by introducing criteria that govern the selection of proper jigsaw puzzle solving method for a given application. Our algorithm uses the gray level profiles of border pixels for local matching of the puzzle pieces. Unlike the classical best-first search, the algorithm simultaneously locates the neighbors of a puzzle pie...
متن کاملDna Computation of Solutions to Edge‐matching Puzzles Abstract Dna Computation of Solutions to Edge‐matching Puzzles
complies with the regulations of the University and meets the accepted standards with respect to originality and quality. The resilient, ancient, and fine‐tuned DNA (deoxyribonucleic acid) has inspired many researchers to harness its power for material purposes. In this work, we use synthesized DNA strands to compute the solution to an instance of edge‐matching puzzles (EMP), where the challeng...
متن کاملEven 1×n Edge-Matching and Jigsaw Puzzles are Really Hard
Jigsaw puzzles [9] and edge-matching puzzles [5] are two ancient types of puzzle, going back to the 1760s and 1890s, respectively. Jigsaw puzzles involve fitting together a given set of pieces (usually via translation and rotation) into a desired shape (usually a rectangle), often revealing a known image or pattern. The pieces are typically squares with a pocket cut out of or a tab attached to ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- SIAM J. Imaging Sciences
دوره 8 شماره
صفحات -
تاریخ انتشار 2015